package com.aloda.ojuser.mapper;

import com.aloda.ojuser.pojo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
* @author aloda
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2025-04-19 10:28:53
* @Entity generator.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where email = #{email}")
    User getByEmail(String email);
}




